package cn.school.newExam.service;

import cn.school.common.api.CommonResult;
import cn.school.newExam.entity.ExamScore;
import cn.school.newExam.utils.ExamScoreTable;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;
import java.util.Map;

public interface ExamScoreService {
    ExamScoreTable initExamScoreTable(ExamScoreTable examScoreTable);

    CommonResult scoresRecord(ExamScoreTable examScoreTable);

    List<ExamScore> queryList(ExamScoreTable examScoreTable);

    List<ExamScore> queryList(ExamScore dto);

    int getClassExamScoreCount(String examPlanId, String classId,String subjectId);

    ExamScore getExamScore(String examPlanId,String classId,String subjectId,String stuId);

    boolean importScore(MultipartFile file);

    List<Map<String, Object>> getStudentAllExamScore(Long studentId);
}
